Formatting
Text Formatting
To complement the enhancements in the Crystal Report Designer on line spacing, character spacing, text rotation and indentation for text objects and string field objects, the Report Designer Component runtime has also been enhanced in the following ways.
In the ITextObject interface for text objects, and the IFieldObject interface for string field objects, these properties and methods have been added:
- CharacterSpacing (read/write)
- LineSpacing (read)
- LineSpacingType (read)
- SetLineSpacing (method)
- TextRotationAngle (read/write)
- FirstLineIndent (read/write)
When reading, this method gets first line indent of the first paragraph; when writing, it sets first line indent for all the paragraphs.
- LeftIndent (read/write)
When reading, this method gets the left indent of the first paragraph; when writing, it sets the left indent for all the paragraphs.
- RightIndent (read/write)
When reading , this method gets the right indent of the first paragraph; when writing, it sets the right indent for all the paragraphs.
- TextFormat (read/write)
For text objects only.